package models

import "gorm.io/gorm"

// 清洁工具
type CleaningTool struct {
	gorm.Model
	CleanerId int    `json:"cleaner_id" gorm:"type:int;comment:'清洁师id'"`
	Name      string `json:"name" gorm:"type:varchar(30);comment:'名称'"`
	Brand     string `json:"brand" gorm:"type:varchar(30);comment:'品牌'"`
}

func (ct *CleaningTool) TableName() string {
	return "cleaning_tool"
}
